import { get, post } from "@/util/request";

//获取用户信息
export const reqUser = () => get("/user/infos");

//取消收藏
export const reqCollect = (data) => post("/product/collect", data);

//我的卡卷
export const reqCoupon = (type) => get("/m1/coupon/list", type);

//我的斑马豆
export const reqScore = () => get("/user/score/history");

// 我的收藏
export const reqCollects = (type) => get("/product/collects", type);

//我的订单
export const reqOrder = () => get("/order/new/list");

//设置
export const reqSet = (keywords) => get("/page/about", keywords);
